<?php 

class SpravaKlubuModel extends BaseModel
{
	private $table_kategorie;
	private $table_sezony;
	private $table_tymy;
	private $table_hraci;
	
	/**
	 * Hold an instance of the class
	 * @var CommonPageModel
	 */
	private static $_instance = null;
	
	/**
	 * A private constructor
	 * Prevents direct creation of object
	 */
	private function __construct()
	{
		$this->_init();
		$this->table_kategorie = TABLE_PREFIX . "klub_kategorie";
		$this->table_sezony = TABLE_PREFIX . "klub_sezony";
		$this->table_tymy = TABLE_PREFIX . "klub_tymy";
		$this->table_hraci = TABLE_PREFIX . "klub_hraci";
	}

	/**
	 * The singleton method
	 * @return CommonPageModel
	 */
	public static function getInstance()
	{
		if (!self::$_instance instanceof self)
			self::$_instance = new self;

		return self::$_instance;
	}
	
	
}

?>